package com.gzw.dms.bean;

import java.util.List;

/**
 * 作者： Wdx on 2016/8/11.
 * 邮箱： 18604454731@163.com
 * 作用：
 */
public class CityInfo {
    /**
     * result : Y address :
     * [{"name":"北京","custId":"010","area":["东城区","西城区","崇文区"
     * ,"宣武区","延庆县"]},{"name"
     * :"上海","custId":"021","area":["黄浦区","卢湾区","徐汇区","长宁区","静安区","其他"]}]
     */

    private String result;
    /**
     * name : 北京 custId : 010 area : ["东城区","西城区","崇文区","宣武区","延庆县"]
     */

    private List<AddressEntity> address;

    public void setResult(String result) {
        this.result = result;
    }

    public void setAddress(List<AddressEntity> address) {
        this.address = address;
    }

    public String getResult() {
        return result;
    }

    public List<AddressEntity> getAddress() {
        return address;
    }

    public static class AddressEntity {
        private String name;
        private String custId;
        private List<String> area;
        private List<String> county;

        public List<String> getCounty() {
            return county;
        }

        public void setCounty(List<String> county) {
            this.county = county;
        }
        public void setName(String name) {
            this.name = name;
        }

        public void setCustId(String custId) {
            this.custId = custId;
        }

        public void setArea(List<String> area) {
            this.area = area;
        }

        public String getName() {
            return name;
        }

        public String getCustId() {
            return custId;
        }

        public List<String> getArea() {
            return area;
        }
    }
}
